<template>
	<div>{{text}}</div>
</template>

<script>
	import ccc from '../filters/ccc.js'
	export default {
		name: 'aaa',
		data(){
			return {
				text: '我是子组件'
			}
		},
		mounted(){
			ccc.$on("fn", item=>{
				this.text = item + '我现在已经成功通过父组件的按钮获取到传来的值了'
			})
		}
	}
</script>

<style>
</style>
